﻿using System;
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.SH.SHFastShipBE
{
	
	/// <summary>
	/// 实体: 快速出货行
	/// 
	/// </summary>
	[Serializable]	
	public  partial class SHFastShipLine : UFSoft.UBF.Business.BusinessEntity
	{





		#region Create Instance
		/// <summary>
		/// Constructor
		/// </summary>
		public SHFastShipLine(){
		}


		    
		/// <summary>
		/// Create Instance With Parent 
		/// </summary>
		/// <returns>Instance</returns>
		public  static SHFastShipLine Create(UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip parentEntity) {
			SHFastShipLine entity = (SHFastShipLine)UFSoft.UBF.Business.Entity.Create(CurrentClassKey, parentEntity);
			if (parentEntity == null)
				throw new ArgumentNullException("parentEntity");
			entity.SHFastShip = parentEntity ;
			parentEntity.SHFastShipLine.Add(entity) ;
			return entity;
		}
	
		/// <summary>
		/// use for Serialization
		/// </summary>
		protected SHFastShipLine(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
			:base(info,context)
		{
		}
		protected override bool IsMainEntity
		{
			get { return false ;}
		}
		#endregion

		#region Create Default 
	    
		/// <summary>
		/// Create Instance With Parent 
		/// </summary>
		/// <returns>Instance</returns>
        [Obsolete("仅用于开发的测试用例时期.正式版返回NULL.不可使用.")]
		public  static SHFastShipLine CreateDefault(UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip parentEntity) {
		#if Test		
			return CreateDefault_Extend(parentEntity);
		#else 
		    return null;
		#endif
		}
	
		#endregion

		#region ClassKey
		protected override string ClassKey_FullName
        {
            get { return "UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine"; }    
        }
		//private static UFSoft.UBF.PL.IClassKey _currentClassKey;
		//由于可能每次访问时的Enterprise不一样，所以每次重取.
		private static UFSoft.UBF.PL.IClassKey CurrentClassKey
		{
			get {
				return  UFSoft.UBF.PL.ClassKeyFacatory.CreateKey("UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine");
			}
		}
		


		#endregion 

		#region EntityKey
		/// <summary>
		/// Strong Class SHFastShipLine EntityKey 
		/// </summary>
		[Serializable()]
	    [DataContract(Name = "EntityKey", Namespace = "UFSoft.UBF.Business.BusinessEntity")]
		public new partial class EntityKey : UFSoft.UBF.Business.BusinessEntity.EntityKey
		{
			public EntityKey(long id): this(id, "UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine")
			{}
			//Construct using by freamwork.
			protected EntityKey(long id , string entityType):base(id,entityType)
			{}
			/// <summary>
			/// 得到当前Key所对应的Entity．(Session级有缓存,性能不用考虑．)
			/// </summary>
			public new SHFastShipLine GetEntity()
			{
				return (SHFastShipLine)base.GetEntity();
			}
			public static bool operator ==(EntityKey obja, EntityKey objb)
			{
				if (object.ReferenceEquals(obja, null))
				{
					if (object.ReferenceEquals(objb, null))
						return true;
					return false;
				}
				return obja.Equals(objb);
			}
			public static bool operator !=(EntityKey obja, EntityKey objb)
			{
				return !(obja == objb);
			}
			public override int GetHashCode()
			{
				return base.GetHashCode();
			}
			public override bool Equals(object obj)
			{
				return base.Equals(obj);
			}
		}
		protected override UFSoft.UBF.Business.BusinessEntity.EntityKey CreateEntityKey()
		{
			return new EntityKey(this.ID);
		}
		/// <summary>
		/// Strong Class EntityKey Property
		/// </summary>
		public new EntityKey Key
		{
			get
			{
				return base.Key as EntityKey;
			}
		}
		#endregion

		#region Finder
		/// <summary>
		/// Strong Class EntityFinder
		/// </summary>
		public new partial class EntityFinder : UFSoft.UBF.Business.BusinessEntity.EntityFinder<SHFastShipLine> 
		{
		    public EntityFinder():base(CurrentClassKey)
			{
			}
			public new EntityList FindAll(string opath, params UFSoft.UBF.PL.OqlParam[] oqlParameters)
			{
				return new EntityList(base.FindAll(opath, oqlParameters));                
			}
			public new EntityList FindAll(UFSoft.UBF.PL.ObjectQueryOptions options, string opath, params UFSoft.UBF.PL.OqlParam[] oqlParameters)
			{
				return new EntityList(base.FindAll(options,opath, oqlParameters));                
			}









			/// <summary>
			/// 业务主键查询参数类型
			/// </summary>
			public class BusinessKeyParameter
			{
				private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey m_SHFastShip ;
				public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey SHFastShip
				{
					get { return m_SHFastShip ;}
					set { m_SHFastShip = value ;}
				}
				private System.Int32 m_DocLineNo ;
				public  System.Int32 DocLineNo
				{
					get { return m_DocLineNo ;}
					set { m_DocLineNo = value ;}
				}
			}
			/// <summary>
			/// 通过实体设置的业务主键进行查询 -业务主键展开方式,会受业务主键调整影响接口.建议使用另一参数类型对象接口查询．
			/// </summary>
			public SHFastShipLine FindByBusinessKey(  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey sHFastShip  , System.Int32 docLineNo  )
			{
				BusinessKeyParameter　parameter = new BusinessKeyParameter() ;
				
				parameter.SHFastShip = sHFastShip ;
				
				parameter.DocLineNo = docLineNo ;
				return this.FindByBusinessKey(parameter) ;
			}
			/// <summary>
			/// 通过实体设置的业务主键进行查询 -业务主键展开方式,会受业务主键调整影响接口.建议使用另一参数类型对象接口查询．
			/// </summary>
			[Obsolete("请使用另一FindByBusinessKey重载接口，参数为EntityKey类型，提高效率 ")]
			public SHFastShipLine FindByBusinessKey(  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip sHFastShip  , System.Int32 docLineNo  )
			{
				BusinessKeyParameter　parameter = new BusinessKeyParameter() ;
				
				parameter.SHFastShip = sHFastShip==null?null:sHFastShip.Key ;
								parameter.DocLineNo = docLineNo ;
				return this.FindByBusinessKey(parameter) ;
			}
			/// <summary>
			/// 通过实体设置的业务主键进行查询－建议使用.
			/// </summary>
			public SHFastShipLine FindByBusinessKey(BusinessKeyParameter parameter)
			{
                if (parameter == null)
                    throw new ArgumentException("parameter");
                System.Text.StringBuilder sbuilder = new System.Text.StringBuilder(40*2);
                UFSoft.UBF.PL.OqlParamList paramlist = new UFSoft.UBF.PL.OqlParamList();
                
								
				

				sbuilder.Append("SHFastShip = @SHFastShip");
				paramlist.Add(new UFSoft.UBF.PL.OqlParam("SHFastShip",parameter.SHFastShip.ID));												
				

				sbuilder.Append(" and DocLineNo = @DocLineNo");
				paramlist.Add(new UFSoft.UBF.PL.OqlParam("DocLineNo",parameter.DocLineNo));				
						
				return this.Find(sbuilder.ToString(), paramlist.ToArray());
			}
			
			/// <summary>
			/// UFIDA_U9_Cust_SH_SHFastShipBE_SHFastShipLine_BusinessKey_Index索引查询参数类型
			/// </summary>
			public class BusinessKeyIndexParameter
			{
				private System.Int32 m_DocLineNo ;
				public  System.Int32 DocLineNo
				{
					get { return m_DocLineNo ;}
					set { m_DocLineNo = value ;}
				}				private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey m_SHFastShip ;
				public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey SHFastShip
				{
					get { return m_SHFastShip ;}
					set { m_SHFastShip = value ;}
				}
			}
			
			
			/// <summary>
			/// 通过索引UFIDA_U9_Cust_SH_SHFastShipBE_SHFastShipLine_BusinessKey_Index进行查询(参数对象接口)
			/// </summary>
			public SHFastShipLine FindByBusinessKeyIndex(BusinessKeyIndexParameter parameter)
			{
                if (parameter == null)
                    throw new ArgumentException("parameter");
                System.Text.StringBuilder sbuilder = new System.Text.StringBuilder(20*2);
                UFSoft.UBF.PL.OqlParamList paramlist = new UFSoft.UBF.PL.OqlParamList();
				
				sbuilder.Append("DocLineNo = @DocLineNo");
				paramlist.Add(new UFSoft.UBF.PL.OqlParam("DocLineNo",parameter.DocLineNo));				
				sbuilder.Append(" and SHFastShip = @SHFastShip");
				paramlist.Add(new UFSoft.UBF.PL.OqlParam("SHFastShip",parameter.SHFastShip.ID));				
				return this.Find(sbuilder.ToString(), paramlist.ToArray());
			}
			
		}

		//private static EntityFinder _finder  ;

		/// <summary>
		/// Finder
		/// </summary>
		public static EntityFinder Finder {
			get {
				//if (_finder == null)
				//	_finder =  new EntityFinder() ;
				return new EntityFinder() ;
			}
		}
		#endregion
			
		#region List

		/// <summary>
		/// EntityList
		/// </summary>
		public partial class EntityList :UFSoft.UBF.Business.Entity.EntityList<SHFastShipLine>{
		    #region constructor 
		    /// <summary>
		    /// EntityList 无参的构造方法,用于其它特殊情况
		    /// </summary>
		    public EntityList()
		    {
		    }

		    /// <summary>
		    /// EntityList Constructor With Collection .主要用于查询返回实体集时使用.
		    /// </summary>
		    public EntityList(IList list) : base(list)
		    { 
		    }
		    
		    /// <summary>
		    ///  EntityList Constructor , used by  peresidence
		    /// </summary>
		    /// <param name="childAttrName">this EntityList's child Attribute Name</param>
		    /// <param name="parentEntity">this EntityList's Parent Entity </param>
		    /// <param name="parentAttrName">Parent Entity's Attribute Name with this EntityList's </param>
		    /// <param name="list">list </param>
		    public EntityList(string childAttrName,UFSoft.UBF.Business.BusinessEntity parentEntity, string parentAttrName, IList list)
			    :base(childAttrName,parentEntity,parentAttrName,list) 
		    { 
			
		    }

		    #endregion 
		    //用于一对多关联.	
		    internal IList InnerList
		    {
		    	//get { return this.innerList; }
		    	set {
		    		if (value != null)
		    		    this.innerList = value; 
		    	}
		    }
		    protected override bool IsMainEntity
		    {
			    get { return false ;}
		    }
		}
		#endregion
		
		#region Typeed OriginalData
		/// <summary>
		/// 当前实体对象的旧数据对象(为上次更新后的数据)
		/// </summary>
		public new EntityOriginal OriginalData
		{
			get {
				return (EntityOriginal)base.OriginalData;
			}
            protected set
            {
				base.OriginalData = value ;
            }
		}
		protected override UFSoft.UBF.Business.BusinessEntity.EntityOriginal CreateOriginalData()
		{
			return new EntityOriginal(this);
		}
		
		public new partial class EntityOriginal: UFSoft.UBF.Business.Entity.EntityOriginal
		{
		    //private SHFastShipLine ContainerEntity ;
		    public  new SHFastShipLine ContainerEntity 
		    {
				get { return  (SHFastShipLine)base.ContainerEntity ;}
				set { base.ContainerEntity = value ;}
		    }
		    
		    public EntityOriginal(SHFastShipLine container)
		    {
				if (container == null )
					throw new ArgumentNullException("container") ;
				ContainerEntity = container ;
				base.innerData = container.OldValues ;
				InitInnerData();
		    }
	




			#region member					
			
			/// <summary>
			///  OrginalData属性。只可读。
			/// ID (该属性不可为空,且无默认值)
			/// 快速出货行.Key.ID
			/// </summary>
			/// <value></value>
			public  System.Int64 ID
			{
				get
				{
					System.Int64 value  = (System.Int64)base.GetValue("ID");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 创建时间 (该属性可为空,且无默认值)
			/// 快速出货行.Sys.创建时间
			/// </summary>
			/// <value></value>
			public  System.DateTime CreatedOn
			{
				get
				{
					object obj = base.GetValue("CreatedOn");
					if (obj == null)
						return System.DateTime.MinValue;
					else
					       return (System.DateTime)obj;
				}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 创建人 (该属性可为空,且无默认值)
			/// 快速出货行.Sys.创建人
			/// </summary>
			/// <value></value>
			public  System.String CreatedBy
			{
				get
				{
					System.String value  = (System.String)base.GetValue("CreatedBy");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 修改时间 (该属性可为空,且无默认值)
			/// 快速出货行.Sys.修改时间
			/// </summary>
			/// <value></value>
			public  System.DateTime ModifiedOn
			{
				get
				{
					object obj = base.GetValue("ModifiedOn");
					if (obj == null)
						return System.DateTime.MinValue;
					else
					       return (System.DateTime)obj;
				}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 修改人 (该属性可为空,且无默认值)
			/// 快速出货行.Sys.修改人
			/// </summary>
			/// <value></value>
			public  System.String ModifiedBy
			{
				get
				{
					System.String value  = (System.String)base.GetValue("ModifiedBy");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 事务版本 (该属性可为空,但有默认值)
			/// 快速出货行.Sys.事务版本
			/// </summary>
			/// <value></value>
			public  System.Int64 SysVersion
			{
				get
				{
					System.Int64 value  = (System.Int64)base.GetValue("SysVersion");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 快速出货 (该属性不可为空,且无默认值)
			/// 快速出货行.Misc.快速出货
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip SHFastShip
			{
				get
				{
					if (SHFastShipKey == null)
						return null ;
					UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip value =  (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip)SHFastShipKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey m_SHFastShipKey ;
		/// <summary>
		/// EntityKey 属性
		/// 快速出货 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.快速出货
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey SHFastShipKey
		{
			get 
			{
				object obj = base.GetValue("SHFastShip") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SHFastShipKey==null || m_SHFastShipKey.ID != key )
					m_SHFastShipKey = new UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey(key); 
				return m_SHFastShipKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 行号 (该属性不可为空,但有默认值)
			/// 快速出货行.Misc.行号
			/// </summary>
			/// <value></value>
			public  System.Int32 DocLineNo
			{
				get
				{
					System.Int32 value  = (System.Int32)base.GetValue("DocLineNo");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 料品 (该属性不可为空,且无默认值)
			/// 快速出货行.Misc.料品
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.CBO.SCM.Item.ItemMaster Item
			{
				get
				{
					if (ItemKey == null)
						return null ;
					UFIDA.U9.CBO.SCM.Item.ItemMaster value =  (UFIDA.U9.CBO.SCM.Item.ItemMaster)ItemKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey m_ItemKey ;
		/// <summary>
		/// EntityKey 属性
		/// 料品 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.料品
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey ItemKey
		{
			get 
			{
				object obj = base.GetValue("Item") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_ItemKey==null || m_ItemKey.ID != key )
					m_ItemKey = new UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey(key); 
				return m_ItemKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 数量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.数量
			/// </summary>
			/// <value></value>
			public  System.Decimal Qty
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("Qty");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 单位 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.单位
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.Base.UOM.UOM UOM
			{
				get
				{
					if (UOMKey == null)
						return null ;
					UFIDA.U9.Base.UOM.UOM value =  (UFIDA.U9.Base.UOM.UOM)UOMKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.Base.UOM.UOM.EntityKey m_UOMKey ;
		/// <summary>
		/// EntityKey 属性
		/// 单位 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.单位
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Base.UOM.UOM.EntityKey UOMKey
		{
			get 
			{
				object obj = base.GetValue("UOM") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_UOMKey==null || m_UOMKey.ID != key )
					m_UOMKey = new UFIDA.U9.Base.UOM.UOM.EntityKey(key); 
				return m_UOMKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 可用量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.可用量
			/// </summary>
			/// <value></value>
			public  System.Decimal AvailableQty
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("AvailableQty");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 单价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.单价
			/// </summary>
			/// <value></value>
			public  System.Decimal Price
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("Price");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 金额 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.金额
			/// </summary>
			/// <value></value>
			public  System.Decimal Amount
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("Amount");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 产品费 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.产品费
			/// </summary>
			/// <value></value>
			public  System.Decimal ProductCost
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("ProductCost");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 品牌费 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.品牌费
			/// </summary>
			/// <value></value>
			public  System.Decimal MarkCost
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("MarkCost");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 物流费 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.物流费
			/// </summary>
			/// <value></value>
			public  System.Decimal TransportCost
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("TransportCost");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 仓储费 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.仓储费
			/// </summary>
			/// <value></value>
			public  System.Decimal StoreCost
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("StoreCost");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 仓库 (该属性不可为空,且无默认值)
			/// 快速出货行.Misc.仓库
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.CBO.SCM.Warehouse.Warehouse WH
			{
				get
				{
					if (WHKey == null)
						return null ;
					UFIDA.U9.CBO.SCM.Warehouse.Warehouse value =  (UFIDA.U9.CBO.SCM.Warehouse.Warehouse)WHKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey m_WHKey ;
		/// <summary>
		/// EntityKey 属性
		/// 仓库 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.仓库
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey WHKey
		{
			get 
			{
				object obj = base.GetValue("WH") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_WHKey==null || m_WHKey.ID != key )
					m_WHKey = new UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey(key); 
				return m_WHKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 订单计划行 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.订单计划行
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.SM.SO.SOShipline SOShipline
			{
				get
				{
					if (SOShiplineKey == null)
						return null ;
					UFIDA.U9.SM.SO.SOShipline value =  (UFIDA.U9.SM.SO.SOShipline)SOShiplineKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.SM.SO.SOShipline.EntityKey m_SOShiplineKey ;
		/// <summary>
		/// EntityKey 属性
		/// 订单计划行 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单计划行
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.SM.SO.SOShipline.EntityKey SOShiplineKey
		{
			get 
			{
				object obj = base.GetValue("SOShipline") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SOShiplineKey==null || m_SOShiplineKey.ID != key )
					m_SOShiplineKey = new UFIDA.U9.SM.SO.SOShipline.EntityKey(key); 
				return m_SOShiplineKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 备注 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.备注
			/// </summary>
			/// <value></value>
			public  System.String Memo
			{
				get
				{
					System.String value  = (System.String)base.GetValue("Memo");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 重量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.重量
			/// </summary>
			/// <value></value>
			public  System.Decimal Weight
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("Weight");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 库存量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.库存量
			/// </summary>
			/// <value></value>
			public  System.Decimal StoreQty
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("StoreQty");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// BOM (该属性可为空,且无默认值)
			/// 快速出货行.Misc.BOM
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.CBO.MFG.BOM.BOMMaster BOM
			{
				get
				{
					if (BOMKey == null)
						return null ;
					UFIDA.U9.CBO.MFG.BOM.BOMMaster value =  (UFIDA.U9.CBO.MFG.BOM.BOMMaster)BOMKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey m_BOMKey ;
		/// <summary>
		/// EntityKey 属性
		/// BOM 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey BOMKey
		{
			get 
			{
				object obj = base.GetValue("BOM") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_BOMKey==null || m_BOMKey.ID != key )
					m_BOMKey = new UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey(key); 
				return m_BOMKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// BOM所属组织 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.BOM所属组织
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.Base.Organization.Organization BOMOrg
			{
				get
				{
					if (BOMOrgKey == null)
						return null ;
					UFIDA.U9.Base.Organization.Organization value =  (UFIDA.U9.Base.Organization.Organization)BOMOrgKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.Base.Organization.Organization.EntityKey m_BOMOrgKey ;
		/// <summary>
		/// EntityKey 属性
		/// BOM所属组织 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM所属组织
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Base.Organization.Organization.EntityKey BOMOrgKey
		{
			get 
			{
				object obj = base.GetValue("BOMOrg") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_BOMOrgKey==null || m_BOMOrgKey.ID != key )
					m_BOMOrgKey = new UFIDA.U9.Base.Organization.Organization.EntityKey(key); 
				return m_BOMOrgKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 订单行 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.订单行
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.SM.SO.SOLine SOLine
			{
				get
				{
					if (SOLineKey == null)
						return null ;
					UFIDA.U9.SM.SO.SOLine value =  (UFIDA.U9.SM.SO.SOLine)SOLineKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.SM.SO.SOLine.EntityKey m_SOLineKey ;
		/// <summary>
		/// EntityKey 属性
		/// 订单行 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单行
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.SM.SO.SOLine.EntityKey SOLineKey
		{
			get 
			{
				object obj = base.GetValue("SOLine") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SOLineKey==null || m_SOLineKey.ID != key )
					m_SOLineKey = new UFIDA.U9.SM.SO.SOLine.EntityKey(key); 
				return m_SOLineKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 沙发规格 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.沙发规格
			/// </summary>
			/// <value></value>
			public  System.String SFSpec
			{
				get
				{
					System.String value  = (System.String)base.GetValue("SFSpec");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 沙发布料 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.沙发布料
			/// </summary>
			/// <value></value>
			public  System.String SFMaterial
			{
				get
				{
					System.String value  = (System.String)base.GetValue("SFMaterial");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 方向位 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.方向位
			/// </summary>
			/// <value></value>
			public  System.String Direction
			{
				get
				{
					System.String value  = (System.String)base.GetValue("Direction");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 沙发件数 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.沙发件数
			/// </summary>
			/// <value></value>
			public  System.String SFCount
			{
				get
				{
					System.String value  = (System.String)base.GetValue("SFCount");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 下线客户 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.下线客户
			/// </summary>
			/// <value></value>
			public  System.String LastCustomer
			{
				get
				{
					System.String value  = (System.String)base.GetValue("LastCustomer");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 正特价 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.正特价
			/// </summary>
			/// <value></value>
			public  System.String PriceType
			{
				get
				{
					System.String value  = (System.String)base.GetValue("PriceType");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 批号 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.批号
			/// </summary>
			/// <value></value>
			public  System.String Lot
			{
				get
				{
					System.String value  = (System.String)base.GetValue("Lot");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 产品单价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.产品单价
			/// </summary>
			/// <value></value>
			public  System.Decimal ProductPrice
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("ProductPrice");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 品牌单价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.品牌单价
			/// </summary>
			/// <value></value>
			public  System.Decimal MarkPrice
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("MarkPrice");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 运输单价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.运输单价
			/// </summary>
			/// <value></value>
			public  System.Decimal TransportPrice
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("TransportPrice");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 仓储单价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.仓储单价
			/// </summary>
			/// <value></value>
			public  System.Decimal StorePrice
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("StorePrice");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 批号主档 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.批号主档
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.Lot.LotMaster LotMaster
			{
				get
				{
					if (LotMasterKey == null)
						return null ;
					UFIDA.U9.Lot.LotMaster value =  (UFIDA.U9.Lot.LotMaster)LotMasterKey.GetEntity();
					return value ;
				}
			}
		


   		private UFIDA.U9.Lot.LotMaster.EntityKey m_LotMasterKey ;
		/// <summary>
		/// EntityKey 属性
		/// 批号主档 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.批号主档
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Lot.LotMaster.EntityKey LotMasterKey
		{
			get 
			{
				object obj = base.GetValue("LotMaster") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_LotMasterKey==null || m_LotMasterKey.ID != key )
					m_LotMasterKey = new UFIDA.U9.Lot.LotMaster.EntityKey(key); 
				return m_LotMasterKey ;
			}
		}

				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 订单号 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.订单号
			/// </summary>
			/// <value></value>
			public  System.String SODocNo
			{
				get
				{
					System.String value  = (System.String)base.GetValue("SODocNo");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 最终成交额 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.最终成交额
			/// </summary>
			/// <value></value>
			public  System.Decimal FinalAmount
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("FinalAmount");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 淘宝费用 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.淘宝费用
			/// </summary>
			/// <value></value>
			public  System.Decimal TBFee
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("TBFee");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 专卖店利润 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.专卖店利润
			/// </summary>
			/// <value></value>
			public  System.Decimal ZMDProfit
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("ZMDProfit");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 总代理利润 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.总代理利润
			/// </summary>
			/// <value></value>
			public  System.Decimal ZDLProfit
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("ZDLProfit");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 公司至总代运费 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.公司至总代运费
			/// </summary>
			/// <value></value>
			public  System.Decimal GSTransportFee
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("GSTransportFee");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 公司利润 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.公司利润
			/// </summary>
			/// <value></value>
			public  System.Decimal GSProfit
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("GSProfit");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 分成比例 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.分成比例
			/// </summary>
			/// <value></value>
			public  System.Decimal DevideRatio
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("DevideRatio");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 订货数量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.订货数量
			/// </summary>
			/// <value></value>
			public  System.Decimal OrderQty
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("OrderQty");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 缺货数量 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.缺货数量
			/// </summary>
			/// <value></value>
			public  System.Decimal LackQty
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("LackQty");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 定金 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.定金
			/// </summary>
			/// <value></value>
			public  System.Decimal Deposit
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("Deposit");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 销售价 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.销售价
			/// </summary>
			/// <value></value>
			public  System.Decimal SalePrice
			{
				get
				{
					System.Decimal value  = (System.Decimal)base.GetValue("SalePrice");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 组合料号 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.组合料号
			/// </summary>
			/// <value></value>
			public  System.String MDItemCode
			{
				get
				{
					System.String value  = (System.String)base.GetValue("MDItemCode");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 门店订单明细ID (该属性可为空,且无默认值)
			/// 快速出货行.Misc.门店订单明细ID
			/// </summary>
			/// <value></value>
			public  System.String MDLineID
			{
				get
				{
					System.String value  = (System.String)base.GetValue("MDLineID");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 门店订单号 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.门店订单号
			/// </summary>
			/// <value></value>
			public  System.String MDDocNo
			{
				get
				{
					System.String value  = (System.String)base.GetValue("MDDocNo");
					return value;
						}
			}
		



				
			/// <summary>
			///  OrginalData属性。只可读。
			/// 行状态 (该属性可为空,但有默认值)
			/// 快速出货行.Misc.行状态
			/// </summary>
			/// <value></value>
			public  UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState DocLineState
			{
				get
				{

					UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState value  = UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState.GetFromValue(base.GetValue("DocLineState"));
					return value;
				}
			}
		



		

			#endregion

			#region List member						
		
			
			private List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine> m_SHFastShipSubLine  ;
			/// <summary>
			/// 快速出货子行 (该属性可为空,且无默认值)
			/// 快速出货行.Misc.快速出货子行
			/// </summary>
			/// <value></value>
			public  List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine> SHFastShipSubLine
			{
				get
				{
					if (m_SHFastShipSubLine == null)
						m_SHFastShipSubLine = new List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine>();
					m_SHFastShipSubLine.Clear();	
					foreach (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine child in ContainerEntity.SHFastShipSubLine)
					{
						if (child.SysState != UFSoft.UBF.PL.Engine.ObjectState.Inserted)
							m_SHFastShipSubLine.Add(child);
					}
					foreach (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine child in ContainerEntity.SHFastShipSubLine.DelLists)
					{
						m_SHFastShipSubLine.Add(child);
					}
					return m_SHFastShipSubLine;
				}
			}
			#endregion

			#region Be List member						
			#endregion



		    
		}
		#endregion 







		#region member					
		
			/// <summary>
		/// ID (该属性不可为空,且无默认值)
		/// 快速出货行.Key.ID
		/// </summary>
		/// <value></value>
	 
		public new System.Int64 ID
		{
			get
			{
				System.Int64 value  = (System.Int64)base.GetValue("ID");
				return value;
				}
				set
			{
				
								base.SetValue("ID", value);
						 
			}
		}
	



		
			/// <summary>
		/// 创建时间 (该属性可为空,且无默认值)
		/// 快速出货行.Sys.创建时间
		/// </summary>
		/// <value></value>
			public  System.DateTime CreatedOn
		{
			get
			{
				System.DateTime value  = (System.DateTime)base.GetValue("CreatedOn");
				return value;
				}
				set
			{
				
								base.SetValue("CreatedOn", value);
						 
			}
		}
	



		
			/// <summary>
		/// 创建人 (该属性可为空,且无默认值)
		/// 快速出货行.Sys.创建人
		/// </summary>
		/// <value></value>
			public  System.String CreatedBy
		{
			get
			{
				System.String value  = (System.String)base.GetValue("CreatedBy");
				return value;
				}
				set
			{
				
								base.SetValue("CreatedBy", value);
						 
			}
		}
	



		
			/// <summary>
		/// 修改时间 (该属性可为空,且无默认值)
		/// 快速出货行.Sys.修改时间
		/// </summary>
		/// <value></value>
			public  System.DateTime ModifiedOn
		{
			get
			{
				System.DateTime value  = (System.DateTime)base.GetValue("ModifiedOn");
				return value;
				}
				set
			{
				
								base.SetValue("ModifiedOn", value);
						 
			}
		}
	



		
			/// <summary>
		/// 修改人 (该属性可为空,且无默认值)
		/// 快速出货行.Sys.修改人
		/// </summary>
		/// <value></value>
			public  System.String ModifiedBy
		{
			get
			{
				System.String value  = (System.String)base.GetValue("ModifiedBy");
				return value;
				}
				set
			{
				
								base.SetValue("ModifiedBy", value);
						 
			}
		}
	



		
			/// <summary>
		/// 事务版本 (该属性可为空,但有默认值)
		/// 快速出货行.Sys.事务版本
		/// </summary>
		/// <value></value>
			public  System.Int64 SysVersion
		{
			get
			{
				System.Int64 value  = (System.Int64)base.GetValue("SysVersion");
				return value;
				}
				set
			{
				
								base.SetValue("SysVersion", value);
						 
			}
		}
	



		
			/// <summary>
		/// 快速出货 (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.快速出货
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip SHFastShip
		{
			get
			{
				object  obj = this.GetRelation("SHFastShip");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip value  = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip)obj;
					return value;
				 }
			}
				internal set
			{
				
				this.SetRelation("SHFastShip", value);
					 
			}
		}
	


   		private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey m_SHFastShipKey ;
		/// <summary>
		/// 快速出货 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.快速出货
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey SHFastShipKey
		{
			get 
			{
				object obj = base.GetValue("SHFastShip") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SHFastShipKey==null || m_SHFastShipKey.ID != key )
					m_SHFastShipKey = new UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip.EntityKey(key); 
				return m_SHFastShipKey ;
			}
			set
			{	
				if (SHFastShipKey==value)
					return ;
				this.SetRelation("SHFastShip", null);
				m_SHFastShipKey = value ;
				if (value != null) 
				{
					base.SetValue("SHFastShip",value.ID);
				}
				else
					base.SetValue("SHFastShip",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 行号 (该属性不可为空,但有默认值)
		/// 快速出货行.Misc.行号
		/// </summary>
		/// <value></value>
			public  System.Int32 DocLineNo
		{
			get
			{
				System.Int32 value  = (System.Int32)base.GetValue("DocLineNo");
				return value;
				}
				set
			{
				
								base.SetValue("DocLineNo", value);
						 
			}
		}
	



		
			/// <summary>
		/// 料品 (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.料品
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.CBO.SCM.Item.ItemMaster Item
		{
			get
			{
				object  obj = this.GetRelation("Item");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.CBO.SCM.Item.ItemMaster value  = (UFIDA.U9.CBO.SCM.Item.ItemMaster)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("Item", value);
					 
			}
		}
	


   		private UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey m_ItemKey ;
		/// <summary>
		/// 料品 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.料品
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey ItemKey
		{
			get 
			{
				object obj = base.GetValue("Item") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_ItemKey==null || m_ItemKey.ID != key )
					m_ItemKey = new UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey(key); 
				return m_ItemKey ;
			}
			set
			{	
				if (ItemKey==value)
					return ;
				this.SetRelation("Item", null);
				m_ItemKey = value ;
				if (value != null) 
				{
					base.SetValue("Item",value.ID);
				}
				else
					base.SetValue("Item",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 数量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.数量
		/// </summary>
		/// <value></value>
			public  System.Decimal Qty
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("Qty");
				return value;
				}
				set
			{
				
								base.SetValue("Qty", value);
						 
			}
		}
	



		
			/// <summary>
		/// 单位 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.单位
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.Base.UOM.UOM UOM
		{
			get
			{
				object  obj = this.GetRelation("UOM");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.Base.UOM.UOM value  = (UFIDA.U9.Base.UOM.UOM)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("UOM", value);
					 
			}
		}
	


   		private UFIDA.U9.Base.UOM.UOM.EntityKey m_UOMKey ;
		/// <summary>
		/// 单位 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.单位
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Base.UOM.UOM.EntityKey UOMKey
		{
			get 
			{
				object obj = base.GetValue("UOM") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_UOMKey==null || m_UOMKey.ID != key )
					m_UOMKey = new UFIDA.U9.Base.UOM.UOM.EntityKey(key); 
				return m_UOMKey ;
			}
			set
			{	
				if (UOMKey==value)
					return ;
				this.SetRelation("UOM", null);
				m_UOMKey = value ;
				if (value != null) 
				{
					base.SetValue("UOM",value.ID);
				}
				else
					base.SetValue("UOM",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 可用量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.可用量
		/// </summary>
		/// <value></value>
			public  System.Decimal AvailableQty
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("AvailableQty");
				return value;
				}
				set
			{
				
								base.SetValue("AvailableQty", value);
						 
			}
		}
	



		
			/// <summary>
		/// 单价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.单价
		/// </summary>
		/// <value></value>
			public  System.Decimal Price
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("Price");
				return value;
				}
				set
			{
				
								base.SetValue("Price", value);
						 
			}
		}
	



		
			/// <summary>
		/// 金额 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.金额
		/// </summary>
		/// <value></value>
			public  System.Decimal Amount
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("Amount");
				return value;
				}
				set
			{
				
								base.SetValue("Amount", value);
						 
			}
		}
	



		
			/// <summary>
		/// 产品费 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.产品费
		/// </summary>
		/// <value></value>
			public  System.Decimal ProductCost
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("ProductCost");
				return value;
				}
				set
			{
				
								base.SetValue("ProductCost", value);
						 
			}
		}
	



		
			/// <summary>
		/// 品牌费 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.品牌费
		/// </summary>
		/// <value></value>
			public  System.Decimal MarkCost
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("MarkCost");
				return value;
				}
				set
			{
				
								base.SetValue("MarkCost", value);
						 
			}
		}
	



		
			/// <summary>
		/// 物流费 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.物流费
		/// </summary>
		/// <value></value>
			public  System.Decimal TransportCost
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("TransportCost");
				return value;
				}
				set
			{
				
								base.SetValue("TransportCost", value);
						 
			}
		}
	



		
			/// <summary>
		/// 仓储费 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.仓储费
		/// </summary>
		/// <value></value>
			public  System.Decimal StoreCost
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("StoreCost");
				return value;
				}
				set
			{
				
								base.SetValue("StoreCost", value);
						 
			}
		}
	



		
			/// <summary>
		/// 仓库 (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.仓库
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.CBO.SCM.Warehouse.Warehouse WH
		{
			get
			{
				object  obj = this.GetRelation("WH");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.CBO.SCM.Warehouse.Warehouse value  = (UFIDA.U9.CBO.SCM.Warehouse.Warehouse)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("WH", value);
					 
			}
		}
	


   		private UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey m_WHKey ;
		/// <summary>
		/// 仓库 的Key (该属性不可为空,且无默认值)
		/// 快速出货行.Misc.仓库
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey WHKey
		{
			get 
			{
				object obj = base.GetValue("WH") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_WHKey==null || m_WHKey.ID != key )
					m_WHKey = new UFIDA.U9.CBO.SCM.Warehouse.Warehouse.EntityKey(key); 
				return m_WHKey ;
			}
			set
			{	
				if (WHKey==value)
					return ;
				this.SetRelation("WH", null);
				m_WHKey = value ;
				if (value != null) 
				{
					base.SetValue("WH",value.ID);
				}
				else
					base.SetValue("WH",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 订单计划行 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单计划行
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.SM.SO.SOShipline SOShipline
		{
			get
			{
				object  obj = this.GetRelation("SOShipline");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.SM.SO.SOShipline value  = (UFIDA.U9.SM.SO.SOShipline)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("SOShipline", value);
					 
			}
		}
	


   		private UFIDA.U9.SM.SO.SOShipline.EntityKey m_SOShiplineKey ;
		/// <summary>
		/// 订单计划行 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单计划行
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.SM.SO.SOShipline.EntityKey SOShiplineKey
		{
			get 
			{
				object obj = base.GetValue("SOShipline") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SOShiplineKey==null || m_SOShiplineKey.ID != key )
					m_SOShiplineKey = new UFIDA.U9.SM.SO.SOShipline.EntityKey(key); 
				return m_SOShiplineKey ;
			}
			set
			{	
				if (SOShiplineKey==value)
					return ;
				this.SetRelation("SOShipline", null);
				m_SOShiplineKey = value ;
				if (value != null) 
				{
					base.SetValue("SOShipline",value.ID);
				}
				else
					base.SetValue("SOShipline",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 备注 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.备注
		/// </summary>
		/// <value></value>
			public  System.String Memo
		{
			get
			{
				System.String value  = (System.String)base.GetValue("Memo");
				return value;
				}
				set
			{
				
								base.SetValue("Memo", value);
						 
			}
		}
	



		
			/// <summary>
		/// 重量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.重量
		/// </summary>
		/// <value></value>
			public  System.Decimal Weight
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("Weight");
				return value;
				}
				set
			{
				
								base.SetValue("Weight", value);
						 
			}
		}
	



		
			/// <summary>
		/// 库存量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.库存量
		/// </summary>
		/// <value></value>
			public  System.Decimal StoreQty
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("StoreQty");
				return value;
				}
				set
			{
				
								base.SetValue("StoreQty", value);
						 
			}
		}
	



		
			/// <summary>
		/// BOM (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.CBO.MFG.BOM.BOMMaster BOM
		{
			get
			{
				object  obj = this.GetRelation("BOM");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.CBO.MFG.BOM.BOMMaster value  = (UFIDA.U9.CBO.MFG.BOM.BOMMaster)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("BOM", value);
					 
			}
		}
	


   		private UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey m_BOMKey ;
		/// <summary>
		/// BOM 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey BOMKey
		{
			get 
			{
				object obj = base.GetValue("BOM") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_BOMKey==null || m_BOMKey.ID != key )
					m_BOMKey = new UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey(key); 
				return m_BOMKey ;
			}
			set
			{	
				if (BOMKey==value)
					return ;
				this.SetRelation("BOM", null);
				m_BOMKey = value ;
				if (value != null) 
				{
					base.SetValue("BOM",value.ID);
				}
				else
					base.SetValue("BOM",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// BOM所属组织 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM所属组织
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.Base.Organization.Organization BOMOrg
		{
			get
			{
				object  obj = this.GetRelation("BOMOrg");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.Base.Organization.Organization value  = (UFIDA.U9.Base.Organization.Organization)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("BOMOrg", value);
					 
			}
		}
	


   		private UFIDA.U9.Base.Organization.Organization.EntityKey m_BOMOrgKey ;
		/// <summary>
		/// BOM所属组织 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.BOM所属组织
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Base.Organization.Organization.EntityKey BOMOrgKey
		{
			get 
			{
				object obj = base.GetValue("BOMOrg") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_BOMOrgKey==null || m_BOMOrgKey.ID != key )
					m_BOMOrgKey = new UFIDA.U9.Base.Organization.Organization.EntityKey(key); 
				return m_BOMOrgKey ;
			}
			set
			{	
				if (BOMOrgKey==value)
					return ;
				this.SetRelation("BOMOrg", null);
				m_BOMOrgKey = value ;
				if (value != null) 
				{
					base.SetValue("BOMOrg",value.ID);
				}
				else
					base.SetValue("BOMOrg",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 订单行 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单行
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.SM.SO.SOLine SOLine
		{
			get
			{
				object  obj = this.GetRelation("SOLine");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.SM.SO.SOLine value  = (UFIDA.U9.SM.SO.SOLine)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("SOLine", value);
					 
			}
		}
	


   		private UFIDA.U9.SM.SO.SOLine.EntityKey m_SOLineKey ;
		/// <summary>
		/// 订单行 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单行
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.SM.SO.SOLine.EntityKey SOLineKey
		{
			get 
			{
				object obj = base.GetValue("SOLine") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_SOLineKey==null || m_SOLineKey.ID != key )
					m_SOLineKey = new UFIDA.U9.SM.SO.SOLine.EntityKey(key); 
				return m_SOLineKey ;
			}
			set
			{	
				if (SOLineKey==value)
					return ;
				this.SetRelation("SOLine", null);
				m_SOLineKey = value ;
				if (value != null) 
				{
					base.SetValue("SOLine",value.ID);
				}
				else
					base.SetValue("SOLine",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 沙发规格 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.沙发规格
		/// </summary>
		/// <value></value>
			public  System.String SFSpec
		{
			get
			{
				System.String value  = (System.String)base.GetValue("SFSpec");
				return value;
				}
				set
			{
				
								base.SetValue("SFSpec", value);
						 
			}
		}
	



		
			/// <summary>
		/// 沙发布料 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.沙发布料
		/// </summary>
		/// <value></value>
			public  System.String SFMaterial
		{
			get
			{
				System.String value  = (System.String)base.GetValue("SFMaterial");
				return value;
				}
				set
			{
				
								base.SetValue("SFMaterial", value);
						 
			}
		}
	



		
			/// <summary>
		/// 方向位 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.方向位
		/// </summary>
		/// <value></value>
			public  System.String Direction
		{
			get
			{
				System.String value  = (System.String)base.GetValue("Direction");
				return value;
				}
				set
			{
				
								base.SetValue("Direction", value);
						 
			}
		}
	



		
			/// <summary>
		/// 沙发件数 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.沙发件数
		/// </summary>
		/// <value></value>
			public  System.String SFCount
		{
			get
			{
				System.String value  = (System.String)base.GetValue("SFCount");
				return value;
				}
				set
			{
				
								base.SetValue("SFCount", value);
						 
			}
		}
	



		
			/// <summary>
		/// 下线客户 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.下线客户
		/// </summary>
		/// <value></value>
			public  System.String LastCustomer
		{
			get
			{
				System.String value  = (System.String)base.GetValue("LastCustomer");
				return value;
				}
				set
			{
				
								base.SetValue("LastCustomer", value);
						 
			}
		}
	



		
			/// <summary>
		/// 正特价 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.正特价
		/// </summary>
		/// <value></value>
			public  System.String PriceType
		{
			get
			{
				System.String value  = (System.String)base.GetValue("PriceType");
				return value;
				}
				set
			{
				
								base.SetValue("PriceType", value);
						 
			}
		}
	



		
			/// <summary>
		/// 批号 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.批号
		/// </summary>
		/// <value></value>
			public  System.String Lot
		{
			get
			{
				System.String value  = (System.String)base.GetValue("Lot");
				return value;
				}
				set
			{
				
								base.SetValue("Lot", value);
						 
			}
		}
	



		
			/// <summary>
		/// 产品单价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.产品单价
		/// </summary>
		/// <value></value>
			public  System.Decimal ProductPrice
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("ProductPrice");
				return value;
				}
				set
			{
				
								base.SetValue("ProductPrice", value);
						 
			}
		}
	



		
			/// <summary>
		/// 品牌单价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.品牌单价
		/// </summary>
		/// <value></value>
			public  System.Decimal MarkPrice
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("MarkPrice");
				return value;
				}
				set
			{
				
								base.SetValue("MarkPrice", value);
						 
			}
		}
	



		
			/// <summary>
		/// 运输单价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.运输单价
		/// </summary>
		/// <value></value>
			public  System.Decimal TransportPrice
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("TransportPrice");
				return value;
				}
				set
			{
				
								base.SetValue("TransportPrice", value);
						 
			}
		}
	



		
			/// <summary>
		/// 仓储单价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.仓储单价
		/// </summary>
		/// <value></value>
			public  System.Decimal StorePrice
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("StorePrice");
				return value;
				}
				set
			{
				
								base.SetValue("StorePrice", value);
						 
			}
		}
	



		
			/// <summary>
		/// 批号主档 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.批号主档
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.Lot.LotMaster LotMaster
		{
			get
			{
				object  obj = this.GetRelation("LotMaster");
				if (obj == null)
				{
					return null ;
				}
				else
				{
					UFIDA.U9.Lot.LotMaster value  = (UFIDA.U9.Lot.LotMaster)obj;
					return value;
				 }
			}
				set
			{
				
				this.SetRelation("LotMaster", value);
					 
			}
		}
	


   		private UFIDA.U9.Lot.LotMaster.EntityKey m_LotMasterKey ;
		/// <summary>
		/// 批号主档 的Key (该属性可为空,且无默认值)
		/// 快速出货行.Misc.批号主档
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Lot.LotMaster.EntityKey LotMasterKey
		{
			get 
			{
				object obj = base.GetValue("LotMaster") ;
				if (obj == null || (Int64)obj==UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag || (Int64)obj==0)
					return null ;
				Int64 key = (System.Int64)obj ;
				if (m_LotMasterKey==null || m_LotMasterKey.ID != key )
					m_LotMasterKey = new UFIDA.U9.Lot.LotMaster.EntityKey(key); 
				return m_LotMasterKey ;
			}
			set
			{	
				if (LotMasterKey==value)
					return ;
				this.SetRelation("LotMaster", null);
				m_LotMasterKey = value ;
				if (value != null) 
				{
					base.SetValue("LotMaster",value.ID);
				}
				else
					base.SetValue("LotMaster",UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag);
			}
		}

		
			/// <summary>
		/// 订单号 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.订单号
		/// </summary>
		/// <value></value>
			public  System.String SODocNo
		{
			get
			{
				System.String value  = (System.String)base.GetValue("SODocNo");
				return value;
				}
				set
			{
				
								base.SetValue("SODocNo", value);
						 
			}
		}
	



		
			/// <summary>
		/// 最终成交额 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.最终成交额
		/// </summary>
		/// <value></value>
			public  System.Decimal FinalAmount
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("FinalAmount");
				return value;
				}
				set
			{
				
								base.SetValue("FinalAmount", value);
						 
			}
		}
	



		
			/// <summary>
		/// 淘宝费用 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.淘宝费用
		/// </summary>
		/// <value></value>
			public  System.Decimal TBFee
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("TBFee");
				return value;
				}
				set
			{
				
								base.SetValue("TBFee", value);
						 
			}
		}
	



		
			/// <summary>
		/// 专卖店利润 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.专卖店利润
		/// </summary>
		/// <value></value>
			public  System.Decimal ZMDProfit
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("ZMDProfit");
				return value;
				}
				set
			{
				
								base.SetValue("ZMDProfit", value);
						 
			}
		}
	



		
			/// <summary>
		/// 总代理利润 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.总代理利润
		/// </summary>
		/// <value></value>
			public  System.Decimal ZDLProfit
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("ZDLProfit");
				return value;
				}
				set
			{
				
								base.SetValue("ZDLProfit", value);
						 
			}
		}
	



		
			/// <summary>
		/// 公司至总代运费 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.公司至总代运费
		/// </summary>
		/// <value></value>
			public  System.Decimal GSTransportFee
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("GSTransportFee");
				return value;
				}
				set
			{
				
								base.SetValue("GSTransportFee", value);
						 
			}
		}
	



		
			/// <summary>
		/// 公司利润 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.公司利润
		/// </summary>
		/// <value></value>
			public  System.Decimal GSProfit
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("GSProfit");
				return value;
				}
				set
			{
				
								base.SetValue("GSProfit", value);
						 
			}
		}
	



		
			/// <summary>
		/// 分成比例 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.分成比例
		/// </summary>
		/// <value></value>
			public  System.Decimal DevideRatio
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("DevideRatio");
				return value;
				}
				set
			{
				
								base.SetValue("DevideRatio", value);
						 
			}
		}
	



		
			/// <summary>
		/// 订货数量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.订货数量
		/// </summary>
		/// <value></value>
			public  System.Decimal OrderQty
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("OrderQty");
				return value;
				}
				set
			{
				
								base.SetValue("OrderQty", value);
						 
			}
		}
	



		
			/// <summary>
		/// 缺货数量 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.缺货数量
		/// </summary>
		/// <value></value>
			public  System.Decimal LackQty
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("LackQty");
				return value;
				}
				set
			{
				
								base.SetValue("LackQty", value);
						 
			}
		}
	



		
			/// <summary>
		/// 定金 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.定金
		/// </summary>
		/// <value></value>
			public  System.Decimal Deposit
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("Deposit");
				return value;
				}
				set
			{
				
								base.SetValue("Deposit", value);
						 
			}
		}
	



		
			/// <summary>
		/// 销售价 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.销售价
		/// </summary>
		/// <value></value>
			public  System.Decimal SalePrice
		{
			get
			{
				System.Decimal value  = (System.Decimal)base.GetValue("SalePrice");
				return value;
				}
				set
			{
				
								base.SetValue("SalePrice", value);
						 
			}
		}
	



		
			/// <summary>
		/// 组合料号 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.组合料号
		/// </summary>
		/// <value></value>
			public  System.String MDItemCode
		{
			get
			{
				System.String value  = (System.String)base.GetValue("MDItemCode");
				return value;
				}
				set
			{
				
								base.SetValue("MDItemCode", value);
						 
			}
		}
	



		
			/// <summary>
		/// 门店订单明细ID (该属性可为空,且无默认值)
		/// 快速出货行.Misc.门店订单明细ID
		/// </summary>
		/// <value></value>
			public  System.String MDLineID
		{
			get
			{
				System.String value  = (System.String)base.GetValue("MDLineID");
				return value;
				}
				set
			{
				
								base.SetValue("MDLineID", value);
						 
			}
		}
	



		
			/// <summary>
		/// 门店订单号 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.门店订单号
		/// </summary>
		/// <value></value>
			public  System.String MDDocNo
		{
			get
			{
				System.String value  = (System.String)base.GetValue("MDDocNo");
				return value;
				}
				set
			{
				
								base.SetValue("MDDocNo", value);
						 
			}
		}
	



		
			/// <summary>
		/// 行状态 (该属性可为空,但有默认值)
		/// 快速出货行.Misc.行状态
		/// </summary>
		/// <value></value>
			public  UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState DocLineState
		{
			get
			{

				UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState value  = UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState.GetFromValue(base.GetValue("DocLineState"));
				return value;
			}
				set
			{
				
				if (value == null)
					base.SetValue("DocLineState",UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState.Empty.Value);
				else
					base.SetValue("DocLineState",value.Value);
					 
			}
		}
	



	

		#endregion

		#region List member						
	
		
		private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine.EntityList m_SHFastShipSubLine  ;
		/// <summary>
		/// 快速出货子行 (该属性可为空,且无默认值)
		/// 快速出货行.Misc.快速出货子行
		/// </summary>
		/// <value></value>
		public  UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine.EntityList SHFastShipSubLine
		{
			get
			{
				if (m_SHFastShipSubLine == null)
					m_SHFastShipSubLine = new UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine.EntityList("SHFastShipLine",this,"SHFastShipSubLine",(IList)this.GetRelation("SHFastShipSubLine"));
				else
					m_SHFastShipSubLine.InnerList = (IList)this.GetRelation("SHFastShipSubLine");
				return m_SHFastShipSubLine;
			}
		}
		#endregion

		#region Be List member						
		#endregion
		
		#region ModelResource 其余去除，保留EntityName
		/// <summary>
		/// Entity的显示名称资源-请使用EntityRes.GetResource(EntityRes.BE_FullName)的方式取 Entity的显示名称资源.
		/// </summary>
		[Obsolete("")]
		public  string Res_EntityName {	get {return Res_EntityNameS ;}	}
		/// <summary>
		/// Entity的显示名称资源-请使用EntityRes.GetResource(EntityRes.BE_FullName)的方式取 Entity的显示名称资源.
		/// </summary>
		[Obsolete("")]
		public  static string Res_EntityNameS {	get {return EntityRes.GetResource("UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine")  ;}	}
		#endregion 		

		#region ModelResource,这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource()内部类的方式取资源
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ID")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ID　{ get { return EntityRes.GetResource("ID");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("CreatedOn")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_CreatedOn　{ get { return EntityRes.GetResource("CreatedOn");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("CreatedBy")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_CreatedBy　{ get { return EntityRes.GetResource("CreatedBy");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ModifiedOn")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ModifiedOn　{ get { return EntityRes.GetResource("ModifiedOn");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ModifiedBy")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ModifiedBy　{ get { return EntityRes.GetResource("ModifiedBy");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SysVersion")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SysVersion　{ get { return EntityRes.GetResource("SysVersion");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SHFastShip")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SHFastShip　{ get { return EntityRes.GetResource("SHFastShip");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("DocLineNo")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_DocLineNo　{ get { return EntityRes.GetResource("DocLineNo");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Item")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Item　{ get { return EntityRes.GetResource("Item");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Qty")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Qty　{ get { return EntityRes.GetResource("Qty");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("UOM")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_UOM　{ get { return EntityRes.GetResource("UOM");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("AvailableQty")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_AvailableQty　{ get { return EntityRes.GetResource("AvailableQty");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Price")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Price　{ get { return EntityRes.GetResource("Price");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Amount")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Amount　{ get { return EntityRes.GetResource("Amount");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ProductCost")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ProductCost　{ get { return EntityRes.GetResource("ProductCost");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("MarkCost")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_MarkCost　{ get { return EntityRes.GetResource("MarkCost");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("TransportCost")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_TransportCost　{ get { return EntityRes.GetResource("TransportCost");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("StoreCost")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_StoreCost　{ get { return EntityRes.GetResource("StoreCost");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("WH")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_WH　{ get { return EntityRes.GetResource("WH");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SOShipline")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SOShipline　{ get { return EntityRes.GetResource("SOShipline");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SHFastShipSubLine")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SHFastShipSubLine　{ get { return EntityRes.GetResource("SHFastShipSubLine");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Memo")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Memo　{ get { return EntityRes.GetResource("Memo");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Weight")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Weight　{ get { return EntityRes.GetResource("Weight");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("StoreQty")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_StoreQty　{ get { return EntityRes.GetResource("StoreQty");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("BOM")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_BOM　{ get { return EntityRes.GetResource("BOM");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("BOMOrg")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_BOMOrg　{ get { return EntityRes.GetResource("BOMOrg");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SOLine")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SOLine　{ get { return EntityRes.GetResource("SOLine");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SFSpec")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SFSpec　{ get { return EntityRes.GetResource("SFSpec");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SFMaterial")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SFMaterial　{ get { return EntityRes.GetResource("SFMaterial");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Direction")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Direction　{ get { return EntityRes.GetResource("Direction");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SFCount")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SFCount　{ get { return EntityRes.GetResource("SFCount");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("LastCustomer")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_LastCustomer　{ get { return EntityRes.GetResource("LastCustomer");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("PriceType")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_PriceType　{ get { return EntityRes.GetResource("PriceType");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Lot")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Lot　{ get { return EntityRes.GetResource("Lot");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ProductPrice")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ProductPrice　{ get { return EntityRes.GetResource("ProductPrice");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("MarkPrice")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_MarkPrice　{ get { return EntityRes.GetResource("MarkPrice");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("TransportPrice")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_TransportPrice　{ get { return EntityRes.GetResource("TransportPrice");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("StorePrice")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_StorePrice　{ get { return EntityRes.GetResource("StorePrice");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("LotMaster")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_LotMaster　{ get { return EntityRes.GetResource("LotMaster");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SODocNo")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SODocNo　{ get { return EntityRes.GetResource("SODocNo");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("FinalAmount")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_FinalAmount　{ get { return EntityRes.GetResource("FinalAmount");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("TBFee")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_TBFee　{ get { return EntityRes.GetResource("TBFee");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ZMDProfit")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ZMDProfit　{ get { return EntityRes.GetResource("ZMDProfit");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("ZDLProfit")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_ZDLProfit　{ get { return EntityRes.GetResource("ZDLProfit");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("GSTransportFee")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_GSTransportFee　{ get { return EntityRes.GetResource("GSTransportFee");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("GSProfit")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_GSProfit　{ get { return EntityRes.GetResource("GSProfit");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("DevideRatio")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_DevideRatio　{ get { return EntityRes.GetResource("DevideRatio");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("OrderQty")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_OrderQty　{ get { return EntityRes.GetResource("OrderQty");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("LackQty")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_LackQty　{ get { return EntityRes.GetResource("LackQty");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("Deposit")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_Deposit　{ get { return EntityRes.GetResource("Deposit");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("SalePrice")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_SalePrice　{ get { return EntityRes.GetResource("SalePrice");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("MDItemCode")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_MDItemCode　{ get { return EntityRes.GetResource("MDItemCode");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("MDLineID")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_MDLineID　{ get { return EntityRes.GetResource("MDLineID");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("MDDocNo")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_MDDocNo　{ get { return EntityRes.GetResource("MDDocNo");　}　}
		/// <summary>
		/// 这种已经被取消，请使用这块代码的人自己调整程序，改为引用EntityRes.GetResource("DocLineState")的方式取资源
		/// </summary>
		[Obsolete("")]
		public string Res_DocLineState　{ get { return EntityRes.GetResource("DocLineState");　}　}
		#endregion 



		#region EntityResource 实体的属性名称及相应显示名称资源访问方法
		public class EntityRes
		{
			/// <summary>
			/// EntityName的名称
			/// </summary>
			public static string BE_Name { get { return "SHFastShipLine";　}　}
			
			/// <summary>
			/// Entity　的全名. 
			/// </summary>
			public static string BE_FullName { get { return "UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine";　}　}
		
			/// <summary>
			/// 属性: ID 的名称
			/// </summary>
			public static string ID　{ get { return "ID";　}　}
				
			/// <summary>
			/// 属性: 创建时间 的名称
			/// </summary>
			public static string CreatedOn　{ get { return "CreatedOn";　}　}
				
			/// <summary>
			/// 属性: 创建人 的名称
			/// </summary>
			public static string CreatedBy　{ get { return "CreatedBy";　}　}
				
			/// <summary>
			/// 属性: 修改时间 的名称
			/// </summary>
			public static string ModifiedOn　{ get { return "ModifiedOn";　}　}
				
			/// <summary>
			/// 属性: 修改人 的名称
			/// </summary>
			public static string ModifiedBy　{ get { return "ModifiedBy";　}　}
				
			/// <summary>
			/// 属性: 事务版本 的名称
			/// </summary>
			public static string SysVersion　{ get { return "SysVersion";　}　}
				
			/// <summary>
			/// 属性: 快速出货 的名称
			/// </summary>
			public static string SHFastShip　{ get { return "SHFastShip";　}　}
				
			/// <summary>
			/// 属性: 行号 的名称
			/// </summary>
			public static string DocLineNo　{ get { return "DocLineNo";　}　}
				
			/// <summary>
			/// 属性: 料品 的名称
			/// </summary>
			public static string Item　{ get { return "Item";　}　}
				
			/// <summary>
			/// 属性: 数量 的名称
			/// </summary>
			public static string Qty　{ get { return "Qty";　}　}
				
			/// <summary>
			/// 属性: 单位 的名称
			/// </summary>
			public static string UOM　{ get { return "UOM";　}　}
				
			/// <summary>
			/// 属性: 可用量 的名称
			/// </summary>
			public static string AvailableQty　{ get { return "AvailableQty";　}　}
				
			/// <summary>
			/// 属性: 单价 的名称
			/// </summary>
			public static string Price　{ get { return "Price";　}　}
				
			/// <summary>
			/// 属性: 金额 的名称
			/// </summary>
			public static string Amount　{ get { return "Amount";　}　}
				
			/// <summary>
			/// 属性: 产品费 的名称
			/// </summary>
			public static string ProductCost　{ get { return "ProductCost";　}　}
				
			/// <summary>
			/// 属性: 品牌费 的名称
			/// </summary>
			public static string MarkCost　{ get { return "MarkCost";　}　}
				
			/// <summary>
			/// 属性: 物流费 的名称
			/// </summary>
			public static string TransportCost　{ get { return "TransportCost";　}　}
				
			/// <summary>
			/// 属性: 仓储费 的名称
			/// </summary>
			public static string StoreCost　{ get { return "StoreCost";　}　}
				
			/// <summary>
			/// 属性: 仓库 的名称
			/// </summary>
			public static string WH　{ get { return "WH";　}　}
				
			/// <summary>
			/// 属性: 订单计划行 的名称
			/// </summary>
			public static string SOShipline　{ get { return "SOShipline";　}　}
				
			/// <summary>
			/// 属性: 快速出货子行 的名称
			/// </summary>
			public static string SHFastShipSubLine　{ get { return "SHFastShipSubLine";　}　}
				
			/// <summary>
			/// 属性: 备注 的名称
			/// </summary>
			public static string Memo　{ get { return "Memo";　}　}
				
			/// <summary>
			/// 属性: 重量 的名称
			/// </summary>
			public static string Weight　{ get { return "Weight";　}　}
				
			/// <summary>
			/// 属性: 库存量 的名称
			/// </summary>
			public static string StoreQty　{ get { return "StoreQty";　}　}
				
			/// <summary>
			/// 属性: BOM 的名称
			/// </summary>
			public static string BOM　{ get { return "BOM";　}　}
				
			/// <summary>
			/// 属性: BOM所属组织 的名称
			/// </summary>
			public static string BOMOrg　{ get { return "BOMOrg";　}　}
				
			/// <summary>
			/// 属性: 订单行 的名称
			/// </summary>
			public static string SOLine　{ get { return "SOLine";　}　}
				
			/// <summary>
			/// 属性: 沙发规格 的名称
			/// </summary>
			public static string SFSpec　{ get { return "SFSpec";　}　}
				
			/// <summary>
			/// 属性: 沙发布料 的名称
			/// </summary>
			public static string SFMaterial　{ get { return "SFMaterial";　}　}
				
			/// <summary>
			/// 属性: 方向位 的名称
			/// </summary>
			public static string Direction　{ get { return "Direction";　}　}
				
			/// <summary>
			/// 属性: 沙发件数 的名称
			/// </summary>
			public static string SFCount　{ get { return "SFCount";　}　}
				
			/// <summary>
			/// 属性: 下线客户 的名称
			/// </summary>
			public static string LastCustomer　{ get { return "LastCustomer";　}　}
				
			/// <summary>
			/// 属性: 正特价 的名称
			/// </summary>
			public static string PriceType　{ get { return "PriceType";　}　}
				
			/// <summary>
			/// 属性: 批号 的名称
			/// </summary>
			public static string Lot　{ get { return "Lot";　}　}
				
			/// <summary>
			/// 属性: 产品单价 的名称
			/// </summary>
			public static string ProductPrice　{ get { return "ProductPrice";　}　}
				
			/// <summary>
			/// 属性: 品牌单价 的名称
			/// </summary>
			public static string MarkPrice　{ get { return "MarkPrice";　}　}
				
			/// <summary>
			/// 属性: 运输单价 的名称
			/// </summary>
			public static string TransportPrice　{ get { return "TransportPrice";　}　}
				
			/// <summary>
			/// 属性: 仓储单价 的名称
			/// </summary>
			public static string StorePrice　{ get { return "StorePrice";　}　}
				
			/// <summary>
			/// 属性: 批号主档 的名称
			/// </summary>
			public static string LotMaster　{ get { return "LotMaster";　}　}
				
			/// <summary>
			/// 属性: 订单号 的名称
			/// </summary>
			public static string SODocNo　{ get { return "SODocNo";　}　}
				
			/// <summary>
			/// 属性: 最终成交额 的名称
			/// </summary>
			public static string FinalAmount　{ get { return "FinalAmount";　}　}
				
			/// <summary>
			/// 属性: 淘宝费用 的名称
			/// </summary>
			public static string TBFee　{ get { return "TBFee";　}　}
				
			/// <summary>
			/// 属性: 专卖店利润 的名称
			/// </summary>
			public static string ZMDProfit　{ get { return "ZMDProfit";　}　}
				
			/// <summary>
			/// 属性: 总代理利润 的名称
			/// </summary>
			public static string ZDLProfit　{ get { return "ZDLProfit";　}　}
				
			/// <summary>
			/// 属性: 公司至总代运费 的名称
			/// </summary>
			public static string GSTransportFee　{ get { return "GSTransportFee";　}　}
				
			/// <summary>
			/// 属性: 公司利润 的名称
			/// </summary>
			public static string GSProfit　{ get { return "GSProfit";　}　}
				
			/// <summary>
			/// 属性: 分成比例 的名称
			/// </summary>
			public static string DevideRatio　{ get { return "DevideRatio";　}　}
				
			/// <summary>
			/// 属性: 订货数量 的名称
			/// </summary>
			public static string OrderQty　{ get { return "OrderQty";　}　}
				
			/// <summary>
			/// 属性: 缺货数量 的名称
			/// </summary>
			public static string LackQty　{ get { return "LackQty";　}　}
				
			/// <summary>
			/// 属性: 定金 的名称
			/// </summary>
			public static string Deposit　{ get { return "Deposit";　}　}
				
			/// <summary>
			/// 属性: 销售价 的名称
			/// </summary>
			public static string SalePrice　{ get { return "SalePrice";　}　}
				
			/// <summary>
			/// 属性: 组合料号 的名称
			/// </summary>
			public static string MDItemCode　{ get { return "MDItemCode";　}　}
				
			/// <summary>
			/// 属性: 门店订单明细ID 的名称
			/// </summary>
			public static string MDLineID　{ get { return "MDLineID";　}　}
				
			/// <summary>
			/// 属性: 门店订单号 的名称
			/// </summary>
			public static string MDDocNo　{ get { return "MDDocNo";　}　}
				
			/// <summary>
			/// 属性: 行状态 的名称
			/// </summary>
			public static string DocLineState　{ get { return "DocLineState";　}　}
		
			/// <summary>
			/// 获取显示名称资源方法
			/// </summary>
			public static string GetResource(String attrName){
				if (attrName == BE_Name || attrName== BE_FullName)
					return UFSoft.UBF.Business.Tool.ExtendHelpAPI.GetEntityResource(BE_FullName);
																																																																																																														
				return UFSoft.UBF.Business.Tool.ExtendHelpAPI.GetAttrResource(BE_FullName, attrName);
			}

		}
		#endregion 


		#region EntityObjectBuilder 持久化性能优化
        private Dictionary<string, string> multiLangAttrs = null;
        private Dictionary<string, string> exdMultiLangAttrs = null;
        private string col_ID_Name = string.Empty;

        public override  Dictionary<string, string> MultiLangAttrs
        {
			get
			{
				return multiLangAttrs;
			}
        }
        public override  Dictionary<string, string> ExdMultiLangAttrs
        {
			get
			{
				return exdMultiLangAttrs;
			}
        }
        public override string Col_ID_Name
        {
			get
			{
				return col_ID_Name;
			}
        }  
        public override void IniData()
        {
			this.multiLangAttrs = new Dictionary<string, string>();
			this.exdMultiLangAttrs = new Dictionary<string, string>();
	
			this.col_ID_Name ="ID";
			this.exdMultiLangAttrs.Add("ID","ID");
			this.exdMultiLangAttrs.Add("CreatedOn","CreatedOn");
			this.exdMultiLangAttrs.Add("CreatedBy","CreatedBy");
			this.exdMultiLangAttrs.Add("ModifiedOn","ModifiedOn");
			this.exdMultiLangAttrs.Add("ModifiedBy","ModifiedBy");
			this.exdMultiLangAttrs.Add("SysVersion","SysVersion");
			this.exdMultiLangAttrs.Add("SHFastShip","SHFastShip");
			this.exdMultiLangAttrs.Add("DocLineNo","DocLineNo");
			this.exdMultiLangAttrs.Add("Item","Item");
			this.exdMultiLangAttrs.Add("Qty","Qty");
			this.exdMultiLangAttrs.Add("UOM","UOM");
			this.exdMultiLangAttrs.Add("AvailableQty","AvailableQty");
			this.exdMultiLangAttrs.Add("Price","Price");
			this.exdMultiLangAttrs.Add("Amount","Amount");
			this.exdMultiLangAttrs.Add("ProductCost","ProductCost");
			this.exdMultiLangAttrs.Add("MarkCost","MarkCost");
			this.exdMultiLangAttrs.Add("TransportCost","TransportCost");
			this.exdMultiLangAttrs.Add("StoreCost","StoreCost");
			this.exdMultiLangAttrs.Add("WH","WH");
			this.exdMultiLangAttrs.Add("SOShipline","SOShipline");
			this.exdMultiLangAttrs.Add("Memo","Memo");
			this.exdMultiLangAttrs.Add("Weight","Weight");
			this.exdMultiLangAttrs.Add("StoreQty","StoreQty");
			this.exdMultiLangAttrs.Add("BOM","BOM");
			this.exdMultiLangAttrs.Add("BOMOrg","BOMOrg");
			this.exdMultiLangAttrs.Add("SOLine","SOLine");
			this.exdMultiLangAttrs.Add("SFSpec","SFSpec");
			this.exdMultiLangAttrs.Add("SFMaterial","SFMaterial");
			this.exdMultiLangAttrs.Add("Direction","Direction");
			this.exdMultiLangAttrs.Add("SFCount","SFCount");
			this.exdMultiLangAttrs.Add("LastCustomer","LastCustomer");
			this.exdMultiLangAttrs.Add("PriceType","PriceType");
			this.exdMultiLangAttrs.Add("Lot","Lot");
			this.exdMultiLangAttrs.Add("ProductPrice","ProductPrice");
			this.exdMultiLangAttrs.Add("MarkPrice","MarkPrice");
			this.exdMultiLangAttrs.Add("TransportPrice","TransportPrice");
			this.exdMultiLangAttrs.Add("StorePrice","StorePrice");
			this.exdMultiLangAttrs.Add("LotMaster","LotMaster");
			this.exdMultiLangAttrs.Add("SODocNo","SODocNo");
			this.exdMultiLangAttrs.Add("FinalAmount","FinalAmount");
			this.exdMultiLangAttrs.Add("TBFee","TBFee");
			this.exdMultiLangAttrs.Add("ZMDProfit","ZMDProfit");
			this.exdMultiLangAttrs.Add("ZDLProfit","ZDLProfit");
			this.exdMultiLangAttrs.Add("GSTransportFee","GSTransportFee");
			this.exdMultiLangAttrs.Add("GSProfit","GSProfit");
			this.exdMultiLangAttrs.Add("DevideRatio","DevideRatio");
			this.exdMultiLangAttrs.Add("OrderQty","OrderQty");
			this.exdMultiLangAttrs.Add("LackQty","LackQty");
			this.exdMultiLangAttrs.Add("Deposit","Deposit");
			this.exdMultiLangAttrs.Add("SalePrice","SalePrice");
			this.exdMultiLangAttrs.Add("MDItemCode","MDItemCode");
			this.exdMultiLangAttrs.Add("MDLineID","MDLineID");
			this.exdMultiLangAttrs.Add("MDDocNo","MDDocNo");
			this.exdMultiLangAttrs.Add("DocLineState","DocLineState");
        }
	#endregion 




		
		
		#region override SetTypeValue method(Use By UICommonCRUD OR Weakly Type Operation)
		public override void SetTypeValue(object propName, object value)
		{
			
			string propstr = propName.ToString();
			switch(propstr)
			{
			
																																																																																																																																																																		

				default:
					//调用基类的实现，最终Entity基类为SetValue()
					base.SetTypeValue(propName,value);
					return;
			}
		}
		#endregion


	


		#region EntityData exchange
		
		#region  DeSerializeKey -ForEntityPorpertyType
		//反序化Key到Data的ID中 --由FromEntityData自动调用一次。实际可以分离,由跨组织服务去调用.
		private void DeSerializeKey(SHFastShipLineData data)
		{
		
			

			

			

			

			

			

			

			if (data.Item == -1 && data.Item_SKey!=null)
				data.Item = data.Item_SKey.GetEntity().ID ;
	

			

			if (data.UOM == -1 && data.UOM_SKey!=null)
				data.UOM = data.UOM_SKey.GetEntity().ID ;
	

			

			

			

			

			

			

			

			if (data.WH == -1 && data.WH_SKey!=null)
				data.WH = data.WH_SKey.GetEntity().ID ;
	

			if (data.SOShipline == -1 && data.SOShipline_SKey!=null)
				data.SOShipline = data.SOShipline_SKey.GetEntity().ID ;
	

			

			

			

			if (data.BOM == -1 && data.BOM_SKey!=null)
				data.BOM = data.BOM_SKey.GetEntity().ID ;
	

			if (data.BOMOrg == -1 && data.BOMOrg_SKey!=null)
				data.BOMOrg = data.BOMOrg_SKey.GetEntity().ID ;
	

			if (data.SOLine == -1 && data.SOLine_SKey!=null)
				data.SOLine = data.SOLine_SKey.GetEntity().ID ;
	

			

			

			

			

			

			

			

			

			

			

			

			if (data.LotMaster == -1 && data.LotMaster_SKey!=null)
				data.LotMaster = data.LotMaster_SKey.GetEntity().ID ;
	

			

			

			

			

			

			

			

			

			

			

			

			

			

			

			
	
			//Entity中没有EntityKey集合，不用处理。
		}
		
		#endregion 	
        public override void FromEntityData(UFSoft.UBF.Business.DataTransObjectBase dto)
        {
			SHFastShipLineData data = dto as SHFastShipLineData ;
			if (data == null)
				return ;
            this.FromEntityData(data) ;
        }

        public override UFSoft.UBF.Business.DataTransObjectBase ToEntityDataBase()
        {
            return this.ToEntityData();
        }
		/// <summary>
		/// Copy Entity From EntityData
		/// </summary>
		public void FromEntityData(SHFastShipLineData data)
		{
			this.FromEntityData(data,new Hashtable());
		}
		//used by ubf..
		public void FromEntityData(SHFastShipLineData data,IDictionary dict)
		{
			if (data == null)
				return;
			bool m_isNeedPersistable = this.NeedPersistable ;
			this.NeedPersistable = false ;
			
			//this.innerData.ChangeEventEnabled = false;
			//this.innerRelation.RelationEventEnabled = false;
				
			if (dict == null ) dict = new Hashtable() ;
			dict[data] = this;
			this.SysState = data.SysState ;
			DeSerializeKey(data);
			#region 组件外属性
		
			//ID与系统字段不处理 --Sysversion需要处理。

		
			//ID与系统字段不处理 --Sysversion需要处理。

		
			//ID与系统字段不处理 --Sysversion需要处理。

		
			//ID与系统字段不处理 --Sysversion需要处理。

		
			//ID与系统字段不处理 --Sysversion需要处理。

								this.SetTypeValue("SysVersion",data.SysVersion);
		
								this.SetTypeValue("DocLineNo",data.DocLineNo);
		
								this.SetTypeValue("Item",data.Item);
		
								this.SetTypeValue("Qty",data.Qty);
		
								this.SetTypeValue("UOM",data.UOM);
		
								this.SetTypeValue("AvailableQty",data.AvailableQty);
		
								this.SetTypeValue("Price",data.Price);
		
								this.SetTypeValue("Amount",data.Amount);
		
								this.SetTypeValue("ProductCost",data.ProductCost);
		
								this.SetTypeValue("MarkCost",data.MarkCost);
		
								this.SetTypeValue("TransportCost",data.TransportCost);
		
								this.SetTypeValue("StoreCost",data.StoreCost);
		
								this.SetTypeValue("WH",data.WH);
		
								this.SetTypeValue("SOShipline",data.SOShipline);
		
								this.SetTypeValue("Memo",data.Memo);
		
								this.SetTypeValue("Weight",data.Weight);
		
								this.SetTypeValue("StoreQty",data.StoreQty);
		
								this.SetTypeValue("BOM",data.BOM);
		
								this.SetTypeValue("BOMOrg",data.BOMOrg);
		
								this.SetTypeValue("SOLine",data.SOLine);
		
								this.SetTypeValue("SFSpec",data.SFSpec);
		
								this.SetTypeValue("SFMaterial",data.SFMaterial);
		
								this.SetTypeValue("Direction",data.Direction);
		
								this.SetTypeValue("SFCount",data.SFCount);
		
								this.SetTypeValue("LastCustomer",data.LastCustomer);
		
								this.SetTypeValue("PriceType",data.PriceType);
		
								this.SetTypeValue("Lot",data.Lot);
		
								this.SetTypeValue("ProductPrice",data.ProductPrice);
		
								this.SetTypeValue("MarkPrice",data.MarkPrice);
		
								this.SetTypeValue("TransportPrice",data.TransportPrice);
		
								this.SetTypeValue("StorePrice",data.StorePrice);
		
								this.SetTypeValue("LotMaster",data.LotMaster);
		
								this.SetTypeValue("SODocNo",data.SODocNo);
		
								this.SetTypeValue("FinalAmount",data.FinalAmount);
		
								this.SetTypeValue("TBFee",data.TBFee);
		
								this.SetTypeValue("ZMDProfit",data.ZMDProfit);
		
								this.SetTypeValue("ZDLProfit",data.ZDLProfit);
		
								this.SetTypeValue("GSTransportFee",data.GSTransportFee);
		
								this.SetTypeValue("GSProfit",data.GSProfit);
		
								this.SetTypeValue("DevideRatio",data.DevideRatio);
		
								this.SetTypeValue("OrderQty",data.OrderQty);
		
								this.SetTypeValue("LackQty",data.LackQty);
		
								this.SetTypeValue("Deposit",data.Deposit);
		
								this.SetTypeValue("SalePrice",data.SalePrice);
		
								this.SetTypeValue("MDItemCode",data.MDItemCode);
		
								this.SetTypeValue("MDLineID",data.MDLineID);
		
								this.SetTypeValue("MDDocNo",data.MDDocNo);
		
			#endregion 

			#region 组件内属性
	
					if (data.SHFastShip!=null)
			{
				UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip child = dict[data.SHFastShip] as UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip ;
				if (child == null)
				{
					if (data.SHFastShip.ID>0)
					{
						if (data.SHFastShip.SysState != UFSoft.UBF.PL.Engine.ObjectState.Inserted)
							child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip)(new UFSoft.UBF.Business.BusinessEntity.EntityKey(data.SHFastShip.ID,data.SHFastShip.SysEntityType).GetEntity());
						if (child==null) child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip)UFSoft.UBF.Business.Entity.CreateTransientObjWithKey(data.SHFastShip.SysEntityType,null,data.SHFastShip.ID,true) ;
					}
					else
					{
 						child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip)UFSoft.UBF.Business.Entity.CreateTransientObjWithKey(data.SHFastShip.SysEntityType,null,null,true) ;				
 					}
					
					child.FromEntityData(data.SHFastShip,dict);
				}
				this.SHFastShip = child ;
			}
	     

					if (data.SHFastShipSubLine != null)
			{	
				foreach(UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData obj in data.SHFastShipSubLine )
				{
					UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine child = dict[obj] as UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine;
					if (child == null)
					{
						if (obj.ID>0)
						{
							if (obj.SysState != UFSoft.UBF.PL.Engine.ObjectState.Inserted)
								child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine)(new UFSoft.UBF.Business.BusinessEntity.EntityKey(obj.ID,obj.SysEntityType).GetEntity());
							if (child==null) child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine)UFSoft.UBF.Business.Entity.CreateTransientObjWithKey(obj.SysEntityType,this,obj.ID,true) ;
						}
						else
						{
							 child = (UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine)UFSoft.UBF.Business.Entity.CreateTransientObjWithKey(obj.SysEntityType,this,null,true) ;
						}
						
						child.FromEntityData(obj,dict);
					}
					if (child.SysState == UFSoft.UBF.PL.Engine.ObjectState.Deleted)
					{
						this.SHFastShipSubLine.Remove(child);
						this.SHFastShipSubLine.DelLists.Add(child);
					}
					else
						this.SHFastShipSubLine.Add(child);
				}
			}
	     

					this.SetTypeValue("DocLineState",data.DocLineState);
	     

			#endregion 
			this.NeedPersistable = m_isNeedPersistable ;
			dict[data] = this;
		}

		/// <summary>
		/// Create EntityData From Entity
		/// </summary>
		public SHFastShipLineData ToEntityData()
		{
			return ToEntityData(null,null);
		}
		/// <summary>
		/// Create EntityData From Entity - used by ubf 
		/// </summary>
		public SHFastShipLineData ToEntityData(SHFastShipLineData data, IDictionary dict){
			if (data == null)
				data = new SHFastShipLineData();
			
			if (dict == null ) dict = new Hashtable() ;
			//就直接用ID,如果不同实体会出现相同ID，则到时候要改进。? ID一定要有。
			dict["UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine"+this.ID.ToString()] = data;
		
			data.SysState = this.SysState ;
			#region 组件外属性 -BusinessEntity,"简单值对象",简单类型,多语言.不可能存在一对多.没有集合可能.
	    
			{
				object obj =this.GetValue("ID");
				if (obj != null)
					data.ID=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("CreatedOn");
				if (obj != null)
					data.CreatedOn=(System.DateTime)obj;
			}
	     
	    
			{
				object obj =this.GetValue("CreatedBy");
				if (obj != null)
					data.CreatedBy=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ModifiedOn");
				if (obj != null)
					data.ModifiedOn=(System.DateTime)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ModifiedBy");
				if (obj != null)
					data.ModifiedBy=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SysVersion");
				if (obj != null)
					data.SysVersion=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("DocLineNo");
				if (obj != null)
					data.DocLineNo=(System.Int32)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Item");
				if (obj != null)
					data.Item=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Qty");
				if (obj != null)
					data.Qty=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("UOM");
				if (obj != null)
					data.UOM=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("AvailableQty");
				if (obj != null)
					data.AvailableQty=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Price");
				if (obj != null)
					data.Price=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Amount");
				if (obj != null)
					data.Amount=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ProductCost");
				if (obj != null)
					data.ProductCost=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("MarkCost");
				if (obj != null)
					data.MarkCost=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("TransportCost");
				if (obj != null)
					data.TransportCost=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("StoreCost");
				if (obj != null)
					data.StoreCost=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("WH");
				if (obj != null)
					data.WH=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SOShipline");
				if (obj != null)
					data.SOShipline=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Memo");
				if (obj != null)
					data.Memo=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Weight");
				if (obj != null)
					data.Weight=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("StoreQty");
				if (obj != null)
					data.StoreQty=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("BOM");
				if (obj != null)
					data.BOM=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("BOMOrg");
				if (obj != null)
					data.BOMOrg=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SOLine");
				if (obj != null)
					data.SOLine=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SFSpec");
				if (obj != null)
					data.SFSpec=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SFMaterial");
				if (obj != null)
					data.SFMaterial=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Direction");
				if (obj != null)
					data.Direction=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SFCount");
				if (obj != null)
					data.SFCount=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("LastCustomer");
				if (obj != null)
					data.LastCustomer=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("PriceType");
				if (obj != null)
					data.PriceType=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Lot");
				if (obj != null)
					data.Lot=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ProductPrice");
				if (obj != null)
					data.ProductPrice=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("MarkPrice");
				if (obj != null)
					data.MarkPrice=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("TransportPrice");
				if (obj != null)
					data.TransportPrice=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("StorePrice");
				if (obj != null)
					data.StorePrice=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("LotMaster");
				if (obj != null)
					data.LotMaster=(System.Int64)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SODocNo");
				if (obj != null)
					data.SODocNo=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("FinalAmount");
				if (obj != null)
					data.FinalAmount=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("TBFee");
				if (obj != null)
					data.TBFee=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ZMDProfit");
				if (obj != null)
					data.ZMDProfit=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("ZDLProfit");
				if (obj != null)
					data.ZDLProfit=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("GSTransportFee");
				if (obj != null)
					data.GSTransportFee=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("GSProfit");
				if (obj != null)
					data.GSProfit=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("DevideRatio");
				if (obj != null)
					data.DevideRatio=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("OrderQty");
				if (obj != null)
					data.OrderQty=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("LackQty");
				if (obj != null)
					data.LackQty=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("Deposit");
				if (obj != null)
					data.Deposit=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("SalePrice");
				if (obj != null)
					data.SalePrice=(System.Decimal)obj;
			}
	     
	    
			{
				object obj =this.GetValue("MDItemCode");
				if (obj != null)
					data.MDItemCode=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("MDLineID");
				if (obj != null)
					data.MDLineID=(System.String)obj;
			}
	     
	    
			{
				object obj =this.GetValue("MDDocNo");
				if (obj != null)
					data.MDDocNo=(System.String)obj;
			}
	     
			#endregion 

			#region 组件内属性 -Entity,"复杂值对象",枚举,实体集合.
	
			{
				object oID = this.GetValue("SHFastShip");
				if (oID != null && (Int64)oID > 0 )
				{
					UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipData _SHFastShip = dict["UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip"+oID.ToString()] as UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipData;			
					data.SHFastShip = (_SHFastShip != null) ? _SHFastShip : (this.SHFastShip==null?null:this.SHFastShip.ToEntityData(null,dict));
				}
			}
	
			if (this.SHFastShipSubLine != null)
			{	
				List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData> listSHFastShipSubLine = new List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData>();
				//必然要访问集合中实体。没办法直接去取实体里面的ID。
				foreach(UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine obj in this.SHFastShipSubLine ){
					if (obj == null)
						continue;
					UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData old = dict["UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLine"+obj.ID.ToString()] as UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData;
					listSHFastShipSubLine.Add((old != null) ? old : obj.ToEntityData(null, dict));
				}
				data.SHFastShipSubLine = listSHFastShipSubLine;
			}	
			{
				object obj =this.GetValue("DocLineState");
				if (obj != null)
					data.DocLineState=System.Int32.Parse(obj.ToString());
			}
	

			#endregion 
			return data ;
		}

		#endregion
	



	
        #region EntityValidator 
	//实体检验： 含自身检验器检验，内嵌属性类型的检验以及属性类型上的校验器的检验。
        private bool SelfEntityValidator()
        {
        























































			//调用实体自身校验器代码.
            return true; 
        }
		//校验属性是否为空的检验。主要是关联对象的效验
		public override void SelfNullableVlidator()
		{
			base.SelfNullableVlidator();
		
			if (Convert.ToInt64(base.GetValue("SHFastShip")) == UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag){
				UFSoft.UBF.Business.AttributeInValidException SHFastShip_Exception = new UFSoft.UBF.Business.AttributeInValidException("UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine","SHFastShip","331ce91b-698d-45c2-a2e0-d853615a5b4d");
				if (UFSoft.UBF.PL.Tool.ConfigParm.SupportNullableVlidatorStackTrace)
					SHFastShip_Exception.MyStackTrace =  new System.Diagnostics.StackTrace(true).ToString();
				this.PropertyExceptions.Add(SHFastShip_Exception);
			}


			if (Convert.ToInt64(base.GetValue("Item")) == UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag){
				UFSoft.UBF.Business.AttributeInValidException Item_Exception = new UFSoft.UBF.Business.AttributeInValidException("UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine","Item","0fd6dc0b-1c9e-4830-8b5a-3afdfd82589f");
				if (UFSoft.UBF.PL.Tool.ConfigParm.SupportNullableVlidatorStackTrace)
					Item_Exception.MyStackTrace =  new System.Diagnostics.StackTrace(true).ToString();
				this.PropertyExceptions.Add(Item_Exception);
			}

			if (Convert.ToInt64(base.GetValue("WH")) == UFSoft.UBF.PL.Tool.Constant.ID_NULL_Flag){
				UFSoft.UBF.Business.AttributeInValidException WH_Exception = new UFSoft.UBF.Business.AttributeInValidException("UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine","WH","140bd63a-ca61-4ca0-a193-0a0de1a9e2af");
				if (UFSoft.UBF.PL.Tool.ConfigParm.SupportNullableVlidatorStackTrace)
					WH_Exception.MyStackTrace =  new System.Diagnostics.StackTrace(true).ToString();
				this.PropertyExceptions.Add(WH_Exception);
			}

			
		}
			    
	#endregion 
	
	
		#region 应用版型代码区
		#endregion 


	}	
}